package com.ycsd.invest.order.business.dto;


import kd.bos.openapi.common.custom.annotation.ApiModel;
import kd.bos.openapi.common.custom.annotation.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import shade.javax.validation.constraints.NotNull;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class StudentInfoDto implements Serializable {
    private static final long serialVersionUID = -228727323048352174L;

    @NotBlank(groups = {Save.class},message = "用户名称不能为空")
    @ApiParam("用户名称")
    private String name;

    @ApiParam(value = "年龄",required = true,message = "年龄不能为空",groups = {Save.class})
    private Integer age;

    public interface Save {
    }

}
